<div class="reset" ng-controller="ResetCtrl">

  <div ng-include="'angular/template/include/toptip.html'">

  </div>

  <div class="logo"><img src="angular/images/logo.png" alt="logo"/></div>

  <form name="form" novalidate class="form reset-form" ng-submit="validatePhone()">

    <h1 class="gray-dark text-center no-top-margin font-lg" style="font-weight: 300;">找回密码</h1>

    <div class="form-item has-icon icon-phone">
      <input class="input input-block client-input" ng-model="forgetForm.phone" name="phone" type="text" placeholder="请输入注册时候的手机号码" phone required/>
      <div class="left-padding-10" ng-show="form.$submitted || form.phone.$touched  || form.getCode.$touched">
        <span class="input-tip client-input-tip" ng-show="form.phone.$error.phone">请输入正确的手机格式</span>
        <span class="input-tip client-input-tip" ng-show="form.phone.$error.required">请输入正确的手机格式</span>
      </div>
    </div>

    <div class="form-item has-icon icon-password">
      <input class="input input-block client-input has-btn" ng-model="forgetForm.validateCode" name="validateCode" type="text" placeholder="手机验证码" required/>
      <button class="get-code" ng-disabled="btnClicked" ng-click="getMessageCode()" name="getCode" >{{messageCode.codeBtn}}</button>
      <div class="left-padding-10" ng-show="form.$submitted || form.validateCode.$touched">
        <span class="input-tip client-input-tip" ng-show="form.validateCode.$error.required">请输入手机验证码</span>
      </div>
    </div>

    <div class="form-item">
      <button class="btn btn-block client-btn" type="submit">下一步</button>
    </div>

    <div class="form-item clearfix font-sm">
      <a class="pull-left  blue" ng-href="#/login">返回登录</a>
      <a class="pull-right  blue" ng-href="#/register">继续注册</a>
    </div>

  </form>

</div>

